<template>
    <div class="content">
      <home-header />
      <div class="tabs">
        <contributor-list :secondId="secondId"/>
      </div>
      <div class="layout">
      </div>
    </div>
</template>

<script setup lang="ts">
import ContributorList from "@/components/contributorList.vue";
import {ref} from "vue";
import {useRoute} from "vue-router";
import HomeHeader from "@/components/homeHeader.vue";


let secondId = ref<number>()
// 初始化方法
const initMethod = () => {
      secondId.value =  parseInt(<string>useRoute().params.id, 10)
}



initMethod()
</script>


<style scoped lang="less">
</style>